<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>CoolMeeting会议管理系统</title>
    <link rel="stylesheet" href="/css/common.css"/>
</head>

<body>
<div class="page-content">
    <div class="content-nav">
        人员管理 > 注册审批
        </div>
    <table class="listtable">
        <caption>所有待审批注册信息：</caption>
        <tr class="listheader">
            <th>姓名</th>
            <th>账号名</th>
            <th>联系电话</th>
            <th>电子邮件</th>
            <th>操作</th>
        </tr>
        <tr th:each="emp:${employees}">
            <td th:text="${emp.employeename}"></td>
            <td th:text="${emp.username}"></td>
            <td th:text="${emp.phone}"></td>
            <td th:text="${emp.email}"></td>
            <td>
                <button><a class="clickbutton" th:href="@{/admin/upDateStatus(employeeid=${emp.employeeid},status=1)}">通过</a>
                </button>
                <button><a class="clickbutton" th:href="@{/admin/upDateStatus(employeeid=${emp.employeeid},status=2)}">不通过</a>
                </button>
            </td>

        </tr>
    </table>
    </div>
</div>
</body>
</html>